



local form_validation = {

	form_name_1 = {
		userName = {
			display = "用户姓名",
			validator = {
				{
					must = true,
					message = "{1}不能为空"
				},
				{
					maxlength = 10,
					message = "{1}长度不能超过{maxlength}"
				}
			}
		},
		email = {
			display = "邮箱地址",
			validator = {
				{
					must = true,
					message = "{1}不能为空"
				},
				{
					maxlength = 20,
					message = "{1}长度不能超过{maxlength}"
				}
			}
		}
	}
	
};


return form_validation;